import { createApp } from 'vue';
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router';
import store from './store';
import './assets/style/common.css';
import axios from './utils/axios';
import { ElMessage } from 'element-plus'
const app = createApp(App);
app.config.globalProperties.$message = ElMessage;
app.config.globalProperties.$fetch = axios;

app
  .use(store)
  .use(router)
  .use(ElementPlus)
  .mount('#app');
